<%--
 *  File:    DoctorInfo.jsp
 *  @Author: banshang 
 *  Date:    2010/06/30
 *
 *  Copyright (C) 2000 - 2010 Oval Technologies, Inc.
 *  All rights reserved. 
 *
 *  This software is the confidential and proprietary information of Oval 
 *  Technologies, Inc. ("Confidential Information").  You shall not
 *  disclose such Confidential Information and shall use it only in
 *  accordance with the terms of the license agreement you entered into
 *  with Oval.
--%>


<%@ include file="/inc/SessionTimeout.inc"%>
<%@ page language="java" %>     
<%@ page import="java.util.*" %>
<%@ page import="org.apache.log4j.Category" %>
<%@ page contentType = "text/html;charset=UTF-8" %>
<%@ taglib uri="/WEB-INF/PageFlow.tld" prefix="PageFlow" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/custom.tld" prefix="custom" %>

<%
  //init param
  Category cat = Category.getInstance("jsp.DoctorInfo");
  String strModuleName = "ERM";
  String privilegeCode = "10340";
  String contextPath = request.getContextPath();
%>
<% //--------------------  include files list --%>
<%@ include file="/inc/Security.inc" %>
<%@ include file="/inc/PageDefault.inc" %>
<%@ include file="/inc/LocationDefault.inc" %>

<html>
<head>
<title>DoctorInfo</title>
<PageFlow:CheckPageFlow pageName="p_doctoredit"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="<%=contextPath %>/css/<%= strLanguageCode %>/main.css" type="text/css">
<script language="JavaScript" src="<%=contextPath %>/js/ScriptLib.js"></script>
<script language="JavaScript" src="<%=contextPath %>/js/Calendar.js"></script>
<script language="JavaScript">
var popwindow;

function page_back(){
	self.location.href="DoctorSummary.jsp?<%= OvalTools.randomURL()%>";
}

</script>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" cellspacing="0" cellpadding="0">
  <tr>
    <td class="summary_top"></td>
  </tr>
</table>
<table width="100%" cellspacing="0" cellpadding="0" >
<form name="cform" method="post" action="<%=contextPath %>/Dispatcher" target="_self">
<input type="hidden" name="pagename" value="p_doctoredit">
<custom:hidden property="actionname" />
<custom:hidden property="doctorid" name="doctorinfo"/>
  <tr> 
    <td valign="top"> 
        <table border="1" cellspacing="0" bordercolorlight="#999999" bordercolordark="#FFFFFF" align="center" width="100%" cellpadding="1">
          <tr> 
            <td colspan="4" class="deepblue-left"><img src="<%=contextPath %>/images/<%= strLanguageCode %>/quote.gif"> 
              	<%= label.getLabelName("L_Doctor") + label.getLabelName("L_Information") + label.getLabelName("L_Colon") %></td>
          </tr>
          <tr> 
            <td class="need" width="10%">医生代码：<%= label.getLabelName("L_DoctorCode") + label.getLabelName("L_Colon") %></td>
            <td width="20%"><custom:write property="doctorcode" name="doctorinfo" nbsp="true"/></td>
            <td class="need" width="10%">外部编码：<%= label.getLabelName("L_OutCode") + label.getLabelName("L_Colon") %></td>
            <td width="20%"><custom:write property="doctorcode" name="doctorinfo" nbsp="true"/></td>
		  </tr>
          <tr>
			<td class="need" width="10%">医生名称：<%= label.getLabelName("L_DoctorName") + label.getLabelName("L_Colon") %></td>
            <td width="20%"><custom:write property="doctorname" name="doctorinfo" nbsp="true" /></td>
          
            <td class="td-text">医生英文名：<%= label.getLabelName("L_DoctorEnglishName") + label.getLabelName("L_Colon") %></td>
            <td><custom:write property="englishname" name="doctorinfo" nbsp="true"/></td>
			</tr>
          <tr>
			<td class="td-text" >性别：<%= label.getLabelName("L_Gender") + label.getLabelName("L_Colon") %></td>
            <td>
				<custom:write name="doctorinfo" dictType="Gender" property="gender" nbsp="true"/>
			</td>
			<td class="td-text">籍贯：<%= label.getLabelName("L_NativePlace") + label.getLabelName("L_Colon") %></td>
            <td><custom:write property="nativeplace" name="doctorinfo" nbsp="true"/></td>
          </tr>
		  <tr> 
            <td class="td-text">生日：<%= label.getLabelName("L_BirthDay") + label.getLabelName("L_Colon") %></td>
            <td><custom:write property="birthday" name="doctorinfo" nbsp="true"/></td>
            <td class="td-text">身份证号：<%= label.getLabelName("L_IDNumber") + label.getLabelName("L_Colon") %></td>
            <td><custom:write property="idcardno" name="doctorinfo" nbsp="true"/></td>
			</tr>
          <tr>
			 <td class="td-text">毕业院校：<%= label.getLabelName("L_GraduatedFrom") + label.getLabelName("L_Colon") %></td>
            <td><custom:write property="college" name="doctorinfo" nbsp="true"/></td>
            <td class="td-text">专业：<%= label.getLabelName("L_Profession") + label.getLabelName("L_Colon") %></td>
            <td><custom:write property="profession" name="doctorinfo" nbsp="true"/></td>
			</tr>
          <tr>
			<td class="td-text">毕业时间：<%= label.getLabelName("L_GraduationTime") + label.getLabelName("L_Colon") %></td>
            <td><custom:write property="graduatedate" name="doctorinfo" nbsp="true"/></td>
			<td class="td-text">家庭地址：<%= label.getLabelName("L_HomeAddress") + label.getLabelName("L_Colon") %></td>
            <td><custom:write property="address" name="doctorinfo" nbsp="true"/></td>
          </tr>
		  <tr> 
            <td class="td-text">住宅邮编：<%= label.getLabelName("L_ZipCode") + label.getLabelName("L_Colon") %></td>
            <td><custom:write property="zipcode" name="doctorinfo" nbsp="true"/></td>
            <td class="td-text">兴趣爱好：<%= label.getLabelName("L_Interests") + label.getLabelName("L_Colon") %></td>
            <td><custom:write property="interest" name="doctorinfo" nbsp="true"/></td>
			</tr>
          <tr>
			<td class="td-text">办公电话：<%= label.getLabelName("L_OfficePhone") + label.getLabelName("L_Colon") %></td>
            <td><custom:write name="doctorinfo" property="telephone" nbsp="true"></custom:write></td>
            <td class="td-text">手机：<%= label.getLabelName("L_MobilePhone") + label.getLabelName("L_Colon") %></td>
            <td><custom:write name="doctorinfo" property="cellphone" nbsp="true"></custom:write></td>
			</tr>
          <tr>
			<td class="td-text">E-mail：<%= label.getLabelName("L_Email") + label.getLabelName("L_Colon") %></td>
            <td><custom:write property="email" name="doctorinfo" nbsp="true"/></td>
            <td class="td-text">社会头衔：<%= label.getLabelName("L_SocialTitle") + label.getLabelName("L_Colon") %></td>
            <td><custom:write property="societytitle" name="doctorinfo" nbsp="true"/></td>
          </tr>
          <tr>
			<td class="need">状态：<%= label.getLabelName("L_Status") + label.getLabelName("L_Colon") %></td>
            <td><custom:write name="doctorinfo" property="statusname" nbsp="true"/></td>
            <td class="td-text">&nbsp;</td>
            <td>&nbsp;</td>
          </tr>
        </table>
      </td>
  </tr>
  <tr>
    <td class="summary_top"></td>
  </tr>
  <tr> 
      <td height="49" class="td_center">
      
      	<a onclick="page_back()"><custom:button type="1" label="L_Back" imgsrc="finish.gif" border="0" style="width:60"/></a>
      </td>
  </tr>
</form>
</table>
</body>
</html>